import * as type from './types';

import getters from './getters';//getters是给mutation用的

/**
 * mutations专门处理状态的
 */
const state = {
  count: 20
};
const mutations = {
  [type.INCREMENT]() {
    state.count++
  }
};
export default {
  state,
  mutations,
  getters
};
